Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[remote clusters] remove unused dependency #89531

Closed
wants to merge 1 commit into from

Conversation

mshustov
Copy link
Contributor

No description provided.

@mshustov mshustov added chore v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.12.0 labels Jan 28, 2021
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

X-Pack Endpoint Functional Tests.x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list·ts.endpoint endpoint list when initially navigating to page "before all" hook for "finds no data in list and prompts onboarding to add policy"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: endpoint
[00:00:00]           └-> "before all" hook
[00:00:00]           └-> "before all" hook
[00:00:00]             │ proc [kibana]   log   [09:57:09.715] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [09:57:09.719] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40010, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40008, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [09:57:09.746] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [09:57:09.749] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40022, url.original: /search?package=endpoint&internal=true&experimental=true
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40024, url.original: /search?package=system&internal=true&experimental=true
[00:00:00]             │ proc [kibana]   log   [09:57:09.758] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ proc [kibana]   log   [09:57:09.763] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40028, url.original: /package/endpoint/0.16.0-dev.4
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40032, url.original: /package/system/0.7.0
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40038, url.original: /package/system/0.7.0/
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40040, url.original: /package/endpoint/0.16.0-dev.4/
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [09:57:09.850] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40044, url.original: /epr/system/system-0.7.0.zip
[00:00:00]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:00]             │ proc [kibana]   log   [09:57:09.920] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:00]             │ info [docker:registry] 2021/01/28 09:57:09 source.ip: 172.17.0.1:40048, url.original: /epr/endpoint/endpoint-0.16.0-dev.4.zip
[00:00:01]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:02]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:04]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-metadata-current] for index patterns [metrics-endpoint.metadata_current_*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.alerts-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.registry-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [metrics-endpoint.policy-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.library-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.process-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.network-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [metrics-endpoint.metadata-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [metrics-endpoint.metrics-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.security-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding component template [logs-endpoint.events.file-mappings]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-system.auth] for index patterns [logs-system.auth-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.diskio] for index patterns [metrics-system.diskio-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.cpu] for index patterns [metrics-system.cpu-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.core] for index patterns [metrics-system.core-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.filesystem] for index patterns [metrics-system.filesystem-*]
[00:00:06]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.load] for index patterns [metrics-system.load-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.fsstat] for index patterns [metrics-system.fsstat-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.memory] for index patterns [metrics-system.memory-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.network] for index patterns [metrics-system.network-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.process_summary] for index patterns [metrics-system.process_summary-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.process] for index patterns [metrics-system.process-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.socket_summary] for index patterns [metrics-system.socket_summary-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-system.syslog] for index patterns [logs-system.syslog-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-system.uptime] for index patterns [metrics-system.uptime-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.alerts] for index patterns [logs-endpoint.alerts-*]
[00:00:07]             │ proc [kibana]   log   [09:57:17.116] [info][fleet][plugins] Found previous transform references:
[00:00:07]             │ proc [kibana]  []
[00:00:07]             │ proc [kibana]   log   [09:57:17.117] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.registry] for index patterns [logs-endpoint.events.registry-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-endpoint.policy] for index patterns [metrics-endpoint.policy-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.library] for index patterns [logs-endpoint.events.library-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.process] for index patterns [logs-endpoint.events.process-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.network] for index patterns [logs-endpoint.events.network-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-endpoint.metadata] for index patterns [metrics-endpoint.metadata-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [metrics-endpoint.metrics] for index patterns [metrics-endpoint.metrics-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.security] for index patterns [logs-endpoint.events.security-*]
[00:00:07]             │ info [o.e.c.m.MetadataIndexTemplateService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] adding index template [logs-endpoint.events.file] for index patterns [logs-endpoint.events.file-*]
[00:00:07]             │ proc [kibana]   log   [09:57:17.679] [info][fleet][plugins] Found previous transform references:
[00:00:07]             │ proc [kibana]  []
[00:00:07]             │ proc [kibana]   log   [09:57:17.679] [info][fleet][plugins] Deleting currently installed transform ids 
[00:00:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.transform-internal-005] creating index, cause [auto(bulk api)], templates [.transform-internal-005], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] updating number_of_replicas to [0] for indices [.transform-internal-005]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.transform-internal-005][0]]])." previous.health="YELLOW" reason="shards started [[.transform-internal-005][0]]"
[00:00:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.transform-notifications-000002] creating index, cause [auto(bulk api)], templates [.transform-notifications-000002], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] updating number_of_replicas to [0] for indices [.transform-notifications-000002]
[00:00:08]             │ info [o.e.x.t.t.p.SchemaUtil] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] Failed to deduce mapping for [agent.id], fall back to keyword. Create the destination index with complete mappings first to avoid deducing the mappings
[00:00:08]             │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [metrics-endpoint.metadata_current_default] creating index, cause [api], templates [metrics-metadata-current], shards [1]/[1]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] updating number_of_replicas to [0] for indices [metrics-endpoint.metadata_current_default]
[00:00:08]             │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[metrics-endpoint.metadata_current_default][0]]])." previous.health="YELLOW" reason="shards started [[metrics-endpoint.metadata_current_default][0]]"
[00:00:08]             │ info [o.e.x.t.t.TransformTask] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [endpoint.metadata_current-default-0.16.0-dev.4] updating state for transform to [{"task_state":"started","indexer_state":"stopped","checkpoint":0,"should_stop_at_checkpoint":false}].
[00:00:08]             │ info [o.e.x.t.t.TransformPersistentTasksExecutor] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [endpoint.metadata_current-default-0.16.0-dev.4] successfully completed and scheduled task in node operation
[00:00:10]             │ proc [kibana]   log   [09:57:20.106] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:10]             │ info [docker:registry] 2021/01/28 09:57:20 source.ip: 172.17.0.1:40858, url.original: /search?package=system&internal=true&experimental=true
[00:00:10]             │ proc [kibana]   log   [09:57:20.130] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:10]             │ info [docker:registry] 2021/01/28 09:57:20 source.ip: 172.17.0.1:40862, url.original: /search?package=system&internal=true&experimental=true
[00:00:10]             │ proc [kibana]   log   [09:57:20.141] [info][fleet][plugins] Custom registry url is an experimental feature and is unsupported.
[00:00:10]             │ info [docker:registry] 2021/01/28 09:57:20 source.ip: 172.17.0.1:40868, url.original: /package/system/0.7.0
[00:00:10]             │ info [docker:registry] 2021/01/28 09:57:20 source.ip: 172.17.0.1:40872, url.original: /package/system/0.7.0/
[00:00:10]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:12]             │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] added role [fleet_enroll]
[00:00:12]             │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] added user [fleet_enroll]
[00:00:14]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:14]             │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-18-tests-xxl-1611823907173462045] [.kibana_1/gmGzDYh6SByfwujhaG0X6g] update_mapping [_doc]
[00:00:15]           └-: endpoint list
[00:00:15]             └-> "before all" hook
[00:00:15]             └-: when initially navigating to page
[00:00:15]               └-> "before all" hook
[00:00:15]               └-> "before all" hook
[00:00:15]                 │ debg navigateToActualUrl http://localhost:61201/app/security/administration/endpoints
[00:00:15]                 │ debg browser[INFO] http://localhost:61201/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1611827845187 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:00:15]                 │
[00:00:15]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:00:15]                 │ debg currentUrl = http://localhost:61201/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1611827845187
[00:00:15]                 │          appUrl = http://localhost:61201/app/security/administration/endpoints
[00:00:15]                 │ debg TestSubjects.find(kibanaChrome)
[00:00:15]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:00:16]                 │ERROR browser[SEVERE] http://localhost:61201/39922/bundles/core/core.entry.js 12:158404 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:00:16]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61201/39922/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:00:16]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61201/39922/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:00:16]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61201/39922/bundles/plugin/data/data.plugin.js:8:195052)
[00:00:16]                 │          at plugin_PluginWrapper.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:196472)
[00:00:16]                 │          at async plugins_service_PluginsService.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:200101)
[00:00:16]                 │          at async core_system_CoreSystem.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:271243)
[00:00:16]                 │          at async Module.__kbnBootstrap__ (http://localhost:61201/39922/bundles/core/core.entry.js:13:277388)
[00:00:16]                 │ debg browser[INFO] http://localhost:61201/39922/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:00:16]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:00:16]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:00:16]                 │ debg browser[INFO] http://localhost:61201/39922/bundles/core/core.entry.js 12:159352 "Detected an unhandled Promise rejection.
[00:00:16]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:00:16]                 │ERROR browser[SEVERE] http://localhost:61201/39922/bundles/core/core.entry.js 12:277531 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:01:15]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:01:15]                 │      Wait timed out after 60097ms
[00:01:16]                 │ debg navigateToActualUrl http://localhost:61201/app/security/administration/endpoints
[00:01:16]                 │ debg browser[INFO] http://localhost:61201/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1611827905949 341 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:01:16]                 │
[00:01:16]                 │ debg browser[INFO] http://localhost:61201/bootstrap.js 42:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:01:16]                 │ debg currentUrl = http://localhost:61201/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1611827905949
[00:01:16]                 │          appUrl = http://localhost:61201/app/security/administration/endpoints
[00:01:16]                 │ debg TestSubjects.find(kibanaChrome)
[00:01:16]                 │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:01:18]                 │ERROR browser[SEVERE] http://localhost:61201/39922/bundles/core/core.entry.js 12:158404 Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE].
[00:01:18]                 │          at ui_actions_service_UiActionsService.attachAction (http://localhost:61201/39922/bundles/plugin/uiActions/uiActions.plugin.js:1:39479)
[00:01:18]                 │          at ui_actions_service_UiActionsService.addTriggerAction (http://localhost:61201/39922/bundles/plugin/uiActions/uiActions.plugin.js:1:40258)
[00:01:18]                 │          at plugin_DataPublicPlugin.setup (http://localhost:61201/39922/bundles/plugin/data/data.plugin.js:8:195052)
[00:01:18]                 │          at plugin_PluginWrapper.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:196472)
[00:01:18]                 │          at async plugins_service_PluginsService.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:200101)
[00:01:18]                 │          at async core_system_CoreSystem.setup (http://localhost:61201/39922/bundles/core/core.entry.js:13:271243)
[00:01:18]                 │          at async Module.__kbnBootstrap__ (http://localhost:61201/39922/bundles/core/core.entry.js:13:277388)
[00:01:18]                 │ debg browser[INFO] http://localhost:61201/39922/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js 390:85483 "Version 9 of Highlight.js has reached EOL and is no longer supported.
[00:01:18]                 │      Please upgrade or ask whatever dependency you are using to upgrade.
[00:01:18]                 │      https://github.com/highlightjs/highlight.js/issues/2877"
[00:01:18]                 │ debg browser[INFO] http://localhost:61201/39922/bundles/core/core.entry.js 12:159352 "Detected an unhandled Promise rejection.
[00:01:18]                 │      Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exists, for attaching action [actionId = ACTION_SELECT_RANGE]."
[00:01:18]                 │ERROR browser[SEVERE] http://localhost:61201/39922/bundles/core/core.entry.js 12:277531 Uncaught Error: No trigger [triggerId = SELECT_RANGE_TRIGGER] exis…ttaching action [actionId = ACTION_SELECT_RANGE].
[00:02:16]                 │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:16]                 │      Wait timed out after 60101ms
[00:02:17]                 │ info Taking screenshot "/dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/screenshots/failure/endpoint endpoint list when initially navigating to page _before all_ hook.png"
[00:02:17]                 │ info Current URL is: http://localhost:61201/login?next=%2Fapp%2Fsecurity%2Fadministration%2Fendpoints%3F_t%3D1611827905949
[00:02:17]                 │ info Saving page source to: /dev/shm/workspace/parallel/20/kibana/x-pack/test/functional/failure_debug/html/endpoint endpoint list when initially navigating to page _before all_ hook.html
[00:02:17]                 └- ✖ fail: endpoint endpoint list when initially navigating to page "before all" hook for "finds no data in list and prompts onboarding to add policy"
[00:02:17]                 │      Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
[00:02:17]                 │ Wait timed out after 60101ms
[00:02:17]                 │     at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
[00:02:17]                 │     at runMicrotasks (<anonymous>)
[00:02:17]                 │     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[00:02:17]                 │       at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:17:9)
[00:02:17]                 │       at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:57:13)
[00:02:17]                 │       at Retry.try (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry.ts:32:14)
[00:02:17]                 │       at CommonPage.navigate (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:86:7)
[00:02:17]                 │       at CommonPage.navigateToUrlWithBrowserHistory (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:171:7)
[00:02:17]                 │       at Object.navigateToEndpointList (test/security_solution_endpoint/page_objects/endpoint_page.ts:20:7)
[00:02:17]                 │       at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:75:9)
[00:02:17]                 │       at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)
[00:02:17]                 │ 
[00:02:17]                 │ 

Stack Trace

Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="kibanaChrome"])
Wait timed out after 60101ms
    at /dev/shm/workspace/kibana/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at onFailure (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry_for_success.ts:57:13)
    at Retry.try (/dev/shm/workspace/parallel/20/kibana/test/common/services/retry/retry.ts:32:14)
    at CommonPage.navigate (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:86:7)
    at CommonPage.navigateToUrlWithBrowserHistory (/dev/shm/workspace/parallel/20/kibana/test/functional/page_objects/common_page.ts:171:7)
    at Object.navigateToEndpointList (test/security_solution_endpoint/page_objects/endpoint_page.ts:20:7)
    at Context.<anonymous> (test/security_solution_endpoint/apps/endpoint/endpoint_list.ts:75:9)
    at Object.apply (/dev/shm/workspace/parallel/20/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov marked this pull request as ready for review January 28, 2021 11:00
@mshustov mshustov requested a review from a team as a code owner January 28, 2021 11:00
@sebelga
Copy link
Contributor

sebelga commented Jan 28, 2021

@cjcenizal do you recall if we put the dependency on indexManagement for a specific reason?

@cjcenizal
Copy link
Contributor

cjcenizal commented Jan 28, 2021

@sebelga It looks like the original PR that added Remote Clusters defined index_management as a requirement but I don't see anything being imported from that plugin into remote_clusters. I think this was probably just a mistake.

In #32203 we added logic to disable remote_clusters if index_management is disabled but there's no explanation about why this is desirable.

If we can't find any references to index_management in remote_clusters beyond the disabling logic, I think it's safe to assume that the dependency was originally introduced as a mistake and that we can:

  • Remove the dependency
  • Update the disabling logic to no allow the use of remote_clusters without index_management

@mshustov
Copy link
Contributor Author

Update the disabling logic to no allow the use of remote_clusters without index_management

Is there a valid case to disable index_management plugin? #89584

@cjcenizal
Copy link
Contributor

@jethr0null Can you offer any insight in response to @restrry 's question?

@sebelga
Copy link
Contributor

sebelga commented Jan 29, 2021

Until v8 we have to assume that index management can potentially be disabled. I just wanted to make sure we did not have a valid reason (#32203) to require indexManagmeent to be present for remote clusters even though we don't consume its contract.

@mshustov mshustov closed this Jan 29, 2021
@mshustov mshustov deleted the remove-es-ui-deps branch January 29, 2021 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore release_note:skip Skip the PR/issue when compiling release notes v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants